package Song.Han.day02.demo03;
/*
* 数组的索引编号从0开始，一直到数组长度-1*/
public class ArrayIndex {
    public static void main(String[] args) {
        int[] array = {5,10,15};

        System.out.println(array[0]);
        System.out.println(array[1]);
        System.out.println(array[2]);

        //数组下标越界异常
        //System.out.println(array[3]);

    }
}
